<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<link rel="stylesheet" type="text/css" href="<c:url value="/CSS/head.css"/>"/>
<div class="head-row1">
  <a href="<c:url value="/index"/>">Home</a>&nbsp;|&nbsp;
  <c:if test="${sessionScope.sessionUser != null}">
    Welcome, <i>${sessionScope.sessionUser.userName}</i>&nbsp;|&nbsp;
    <a href="<c:url value="/user/signOut"/>">Sign Out</a> 
  </c:if>
  <c:if test="${sessionScope.sessionUser == null}">
    <a href="<c:url value="/user/signIn"/>">Sign In</a>&nbsp;|&nbsp;
    <a href="<c:url value="/user/signUp"/>">Sign Up</a>
  </c:if>
</div>
<div class="head-row2">
  <span class="logo">Forum Community Software</span>
  <c:if test="${sessionScope.sessionUser != null && sessionScope.sessionUser.userType == 1}">
    <span class=""><a href="<c:url value="/board/boardList"/>">Board Management</a></span>
    <span class=""><a href="<c:url value="/boardManager/boardManagerList"/>">Board Manager Management</a></span>
    <span class=""><a href="<c:url value="/user/lockOrUnlockUser"/>">Lock/Unlock User Management</a></span>
  </c:if>
</div>
<div class="head-row3"></div>
